package oo;

import java.util.ArrayList;
import java.util.List;

/**
 * @author mateusz
 *
 */
public class student extends nauczyciel{
	private List<test> ll=new ArrayList<test>();
	private test proba;
	
	public test getProba() {
		return proba;
	}
	public void setProba(test proba) {
		this.proba = proba;
	}
	public List<test> getLl() {
		return ll;
	}
	public void setLl(List<test> ll) {
		this.ll = ll;
	}
	class test{
		private String a,b;
		test(String a_,String b_){
			a=a_;
			b=b_;
		}
		public String getA() {
			return a;
		}
		public void setA(String a) {
			this.a = a;
		}
		public String getB() {
			return b;
		}
		public void setB(String b) {
			this.b = b;
		}
		
	}
	private double int_ocena=3;
	private String str_przyczyna="",str_nrindeks="";
	private String[] array_ocena={"2.0","3.0","3.5","4","4.5","5"};
	
	public String getStr_nrindeks() {
		return str_nrindeks;
	}
	public void setStr_nrindeks(String str_nrindeks) {
		this.str_nrindeks = str_nrindeks;
	}
	public String getStr_przyczyna() {
		return str_przyczyna;
	}
	public double getInt_ocena() {
		return int_ocena;
	}
	public void setInt_ocena(double int_ocena) {
		this.int_ocena = int_ocena;
	}
	public void setStr_przyczyna(String str_przyczyna) {
		this.str_przyczyna = str_przyczyna;
	}
	public void ustaw_ocene(String ocena){
		setInt_ocena(Double.parseDouble(ocena));
	}
	public student(){
		proba=new test("1","2");
		ll.add(proba);
	}

}
